package edu.sctu.practice.class01.fengleilin.test09;

/**
 * Created by fll on 2015/10/14.
 */
public class NetUser {
    private String ID;
    private String password;
    private String email;

    public NetUser(String ID, String password) {
        this.ID = ID;
        this.password = password;
        this.email = ID + "@gameschool.com";
    }

    public void checkUser() {
        System.out.println("该用户的ID是:" + ID + "\n密码是:" + password + "\nemail是:" + email);

    }
}
